﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using K.EnterpriseLibary.Entity;
using K.Persistence.Interface;
namespace K.Persistence.MapperDao
{
    public class UserDao: BaseMapperDao , IUser
    {
        public void CreateUserInfo(UserInfo userInfo)
        {
            ExcuteInsert("InsertUserInfo", userInfo);
        }

        public int UpdateUserInfo(UserInfo userInfo)
        {
            return Convert.ToInt32(ExcuteUpdate("UpdateUserInfo", userInfo));
        }

        public void DeleteUserInfo(UserInfo userInfo)
        {
            throw new NotImplementedException();
        }

        public UserInfo SelectUserInfoByPrimaryKey(params object[] parameters)
        {
            throw new NotImplementedException();
        }

        public UserInfo SelectUserInfoByUniqueKey(params object[] parameters)
        {
            throw new NotImplementedException();
        }

        public List<UserInfo> SelectUserInfoByAnyProperty(params object[] parameters)
        {
            throw new NotImplementedException();
        }

        public List<UserInfo> SelectUserInfoList(params object[] parameters)
        {
            throw new NotImplementedException();
        }
    }
}
